home *** CD-ROM | disk | FTP | other *** search
- #! /bin/sh
- set -e
-
- if [ "$1" = "configure" ]; then
- # up to 4.1.7-2 locatedb was in non-FHS-dir /var/lib/locate
- if dpkg --compare-versions "$2" le-nl "4.1.7-2" ; then
- if [ -f /var/lib/locate/locatedb ]; then
- mv /var/lib/locate/locatedb /var/cache/locate/
- rmdir /var/lib/locate 2>/dev/null || true
- fi
- fi
- fi
-
- # Automatically added by dh_installdocs
- if [ "$1" = configure ] && which install-docs >/dev/null 2>&1; then
- install-docs -i /usr/share/doc-base/findutils
- fi
- # End automatically added section
- # Automatically added by dh_installinfo
- if [ "$1" = "configure" ]; then
- install-info --quiet /usr/share/info/find.info
- fi
- # End automatically added section
-
- # vim:tabstop=2:expandtab:shiftwidth=2
-